package classdemo;

/**
 * Created with IntelliJ IDEA.
 * ClassName: StaticLoading
 * Package: classdemo
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2024-03-12
 * Time: 20:36
 */

public class StaticLoading {
    public static StaticLoading s1 = new StaticLoading();
    {
        System.out.println("blockA");
    }
    static {
        System.out.println("blockB");
    }

    public static void main(String[] args) {
        StaticLoading s2 = new StaticLoading();
    }
}
